home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 26 / 026.d81 / t.memory window < prev    next >
Text File  |  2022-08-26  |  3KB  |  191 lines

  1.  
  2.  
  3.            MEMORY WINDOW
  4.                 by
  5.            Carl Thompson
  6.  
  7.  
  8. COMMODORE MICROCOMPUTERS MAGAZINE
  9. July/August, 1986
  10. p. 98
  11.  
  12.  
  13.   When you first run MEMORY WINDOW,
  14.  
  15. you will be forgiven if you think
  16.  
  17. for a second that you are in the
  18.  
  19. middle of some strange arcade game.
  20.  
  21. After all, just WHAT are those
  22.  
  23. undulating white blobs DOING on that
  24.  
  25. jet black background?
  26.  
  27.  
  28.   Well, put away your joysticks;
  29.  
  30. something a little more serious (and
  31.  
  32. educational) is afoot.  MEMORY WINDOW
  33.  
  34. lets us peek into the inner recesses
  35.  
  36. of our Commodore's memory.  Each
  37.  
  38. speck of white represents a memory
  39.  
  40. "bit" that contains a "1" (ON); each
  41.  
  42. black space represents a "bit" that
  43.  
  44. has a "0" (OFF).
  45.  
  46.  
  47.   (OK! A special quickie tutorial....
  48.  
  49. A "bit" is a single unit of computer
  50.  
  51. memory.  Eight bits make up a "byte";
  52.  
  53. 256 bytes make up a "page".  It's
  54.  
  55. really more complicated than that, of
  56.  
  57. course, but more detailed information
  58.  
  59. is readily available if you're
  60.  
  61. interested.)
  62.  
  63.  
  64.   By pressing the CURSOR-UP and
  65.  
  66. CURSOR-DOWN keys, you can scroll
  67.  
  68. through page "0" to page "63", or you
  69.  
  70. can jump from page to page by typing
  71.  
  72. in the number of the page you wish to
  73.  
  74. view.  Note that MEMORY WINDOW has 84
  75.  
  76. rows and that each row contains three
  77.  
  78. bytes, or 24 bits.
  79.  
  80.  
  81. THE MEANING OF IT ALL.....
  82.  
  83.  
  84.   No guided tour of the C-64's memory
  85.  
  86. would be complete without some
  87.  
  88. insightful commentary.  Here is a page
  89.  
  90. by page account of what you are
  91.  
  92. seeing:
  93.  
  94.  
  95. PAGE 0--  You will see a lot of
  96.  
  97. blinking on this page-- the C-64's
  98.  
  99. microprocessor makes heavy use of its
  100.  
  101. memory locations.  In fact, you can
  102.  
  103. even stop MEMORY WINDOW by pressing
  104.  
  105. the RUN/STOP key and the blinking will
  106.  
  107. continue.  This is because a computer
  108.  
  109. really never rests-- it executes
  110.  
  111. hundreds of thousands of instructions
  112.  
  113. every second-- whether it's running a
  114.  
  115. program or not.
  116.  
  117.  
  118.   To restore the program, clear the
  119.  
  120. screen by pressing the SHIFT-CLR/HOME
  121.  
  122. combination, then typing in "RUN" and
  123.  
  124. pressing RETURN.
  125.  
  126.  
  127. PAGE 1--  This page has a great deal
  128.  
  129. of activity at the bottom of the
  130.  
  131. page.  This page, called the "stack",
  132.  
  133. is a temporary storage area.
  134.  
  135.  
  136. PAGE 2 and 3-- These pages contain
  137.  
  138. many of the pointers and buffer
  139.  
  140. storage areas used by the Kernal
  141.  
  142. operating system and the BASIC
  143.  
  144. interpreter.
  145.  
  146.  
  147. PAGE 4-7 -- These pages are used as
  148.  
  149. the standard location for the numbers
  150.  
  151. used to create the text on the screen.
  152.  
  153.  
  154. PAGE 8-- Page 8 is the beginning of
  155.  
  156. the BASIC program area.
  157.  
  158.  
  159. PAGE 13-15 -- For the MEMORY WINDOW
  160.  
  161. program, variables are stored
  162.  
  163. beginning at page 13, arrays at page
  164.  
  165. 14.  Arrays end at page 15.
  166.  
  167.  
  168. PAGE 16-31 -- These pages are
  169.  
  170. available for text strings, but
  171.  
  172. because this program uses sprites,
  173.  
  174. they are used for the character ROM
  175.  
  176. image.
  177.  
  178.  
  179. PAGE 32-64 -- These pages are
  180.  
  181. currently available for text string
  182.  
  183. storage.
  184.  
  185.  
  186. DISK FILE USED:
  187.  
  188. MEMORY WINDOW
  189.  
  190. -----------< end of text >------------
  191.